<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>flex布局的购物界面</title>
    <link rel="stylesheet" href="./flex.css">
    <link rel="stylesheet" href="./download/font/iconfont.css">
</head>

<body>
    <div class="header">
        <div class="warp">
            <ul class="header-left">
                <li><a href="#">小米商城</a><span>|</span></li>
                <li><a href="#">MTUI</a><span>|</span></li>
                <li><a href="#">IOT</a><span>|</span></li>
                <li><a href="#">云服务</a><span>|</span></li>
                <li><a href="#">天星科技</a><span>|</span></li>
                <li><a href="#">有品</a><span>|</span></li>
                <li><a href="#">小爱开发平台</a><span>|</span></li>
                <li><a href="#">企业团购</a><span>|</span></li>
                <li><a href="#">资质证明</a><span>|</span></li>
                <li><a href="#">协议规则</a><span>|</span></li>
                <li>
                    <a href="#">下载APP</a>
                    <span>|</span>
                    <div class="download">
                        <img src="" alt="">
                        <p>小米商城APP</p>
                    </div>
                    <div class="stri"></div>
                </li>
                <li><a href="#">智能生活</a><span>|</span></li>
                <li><a href="#">Seletlocation</a><span>|</span></li>
            </ul>
            <ul class="header-right">
                <li>
                    <a href="#">登录</a><span>|</span>
                    <a href="#">注册</a><span>|</span>
                    <a href="#">消息通知</a><span>|</span>
                    <a href="#" class="cart">
                        <i class="iconfont">&#xe604;</i>
                        <i>购物车（0）</i>
                    </a>
                    <div class="cart-list">
                        购物车里还没有商品，赶快选购吧
                    </div>
                </li>
            </ul>
        </div>
    </div>
    <div class="nav">
        <div class="wrap">
            <div class="logo">
                <img src="./img/米家.png" width="55" class="mi">
            </div>
            <div class="bar">
                <ul>
                    <li>
                        <a href="#">小米手机</a>
                        <div class="bar-list">
                            <ul>
                                <li>
                                    <a href="#">
                                        <div class="img-box">
                                            <img>
                                        </div>
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </li>
                    <li><a href="#">电视</a></li>
                    <li><a href="#">笔记本</a></li>
                    <li><a href="#">家电</a></li>
                    <li><a href="#">路由器</a></li>
                    <li><a href="#">智能硬件</a></li>
                    <li><a href="#">服务</a></li>
                    <li><a href="#">社区</a></li>
                </ul>
            </div>
            <div class="search">
                <input type="text" placeholder="元宇宙">
                <button class="iconfont">&#xe6e4;</button>
            </div>
        </div>
    </div>
    <div class="content">
        <div class="warp">
            <div class="phone">
                <h3 class="title">手机</h3>
                <div class="phone-box">
                    <div class="phone-box-left">
                        <a href="#">
                            <img src="./img/左侧.webp" width="233">
                        </a>
                    </div>
                    <div class="phone-box-right">
                        <div class="item">
                            <a href="#">
                                <img class="item-img" src="./img/上1.webp" alt="">
                                <p class="item-name">Redmi Turbo 3</p>
                                <p class="item-desc">性能旋风，席卷而来</p>
                                <p class="item-price">1999元起</p>
                            </a>
                        </div>
                        <div class="item">
                            <a href="#">
                                <img class="item-img" src="./img/上2.webp" alt="">
                                <p class="item-name">Xiao Civi 4 Pro</p>
                                <p class="item-desc">徕卡光学summilux镜头</p>
                                <p class="item-price">2999元起</p>
                            </a>
                        </div>
                        <div class="item">
                            <a href="#">
                                <img class="item-img" src="./img/上3.webp" alt="">
                                <p class="item-name">Xiaomi 14 Ultra</p>
                                <p class="item-desc">徕卡全明星四摄|双向卫星通信</p>
                                <p class="item-price">6499元起</p>
                            </a>
                        </div>
                        <div class="item">
                            <a href="#">
                                <img class="item-img" src="./img/上4.webp" alt="">
                                <p class="item-name">Redmi K70 Pro</p>
                                <p class="item-desc">第三代骁龙8 年度旗舰平台</p>
                                <p class="item-price">3299元起</p>
                            </a>
                        </div>
                        <div class="item">
                            <a href="#">
                                <img class="item-img" src="./img/下1.webp" alt="">
                                <p class="item-name">Redmi K70</p>
                                <p class="item-desc">第二代骁龙8 旗舰芯</p>
                                <p class="item-price">2399元起</p>
                            </a>
                        </div>
                        <div class="item">
                            <a href="#">
                                <img class="item-img" src="./img/下2.webp" alt="">
                                <p class="item-name">Redmi K70E</p>
                                <p class="item-desc">新一代旗舰焊门员</p>
                                <p class="item-price">1799元起</p>
                            </a>
                        </div>
                        <div class="item">
                            <a href="#">
                                <img class="item-img" src="./img/下3.webp" alt="">
                                <p class="item-name">Xiaomi 14 Pro</p>
                                <p class="item-desc">徕卡summilux可变光圈镜头</p>
                                <p class="item-price">4599元起</p>
                            </a>
                        </div>
                        <div class="item">
                            <a href="#">
                                <img class="item-img" src="./img/下4.webp" alt="">
                                <p class="item-name">Xiaomi 14</p>
                                <p class="item-desc">徕卡光学summilux镜头</p>
                                <p class="item-price">3999元起</p>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>

</html>